/*
* test1
*/
package com.pitop.market.api;

import com.pitop.market.entity.MarketRepairRecord;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;
import java.util.List;

/**
 * 维修记录 api请求熔断器 熔断实现
 *
 * @author test1
 */
@Component
public class MarketRepairRecordFeignApiImpl implements MarketRepairRecordFeignApi {
    /**
     * 查询MarketRepairRecord一个详情信息
     *
     * @param id
     * @param code 编码
     * @return MarketRepairRecord
     */
    @Override
    public MarketRepairRecord load(@RequestParam("id") Long id, @RequestParam("code") String code) {
        return new MarketRepairRecord();
    }


    /**
     * 根据条件id查询MarketRepairRecord一个详情信息
     *
     * @param id
     * @return MarketRepairRecord
     */
    @Override
    public MarketRepairRecord loadById(@RequestParam("id") Long id) {
        return new MarketRepairRecord();
    }

    /**
     * 根据条件code查询MarketRepairRecord一个详情信息
     *
     * @param code 编码
     * @return MarketRepairRecord
     */
    @Override
    public MarketRepairRecord loadByCode(@RequestParam("code") String code) {
        return new MarketRepairRecord();
    }

    /**
     * 查询MarketRepairRecord信息集合
     *
     * @return 分页对象
     */
    @Override
    public List<MarketRepairRecord> list(@RequestBody MarketRepairRecord marketRepairRecord, int curPage, int pageSize) {
        return new ArrayList();
    }

    /**
     * 查询MarketRepairRecord信息集合
     *
     * @return 分页对象
     */
    @Override
    public List<MarketRepairRecord> listByPk(Long id, String code, int curPage, int pageSize) {
        return new ArrayList();
    }

    @Override
    public Integer count(@RequestParam("id") Long id, @RequestParam("code") String code) {
        return 0;
    }

    @Override
    public Integer count(@RequestBody MarketRepairRecord marketRepairRecord) {
        return 0;
    }

    /**
     * 创建MarketRepairRecord
     *
     * @return MarketRepairRecord
     */
    @Override
    public MarketRepairRecord build(@RequestBody MarketRepairRecord marketRepairRecord) {
        return new MarketRepairRecord();
    }

    /**
     * 修改MarketRepairRecord
     *
     * @return MarketRepairRecord
     */
    @Override
    public MarketRepairRecord modify(@RequestBody MarketRepairRecord marketRepairRecord) {
        return new MarketRepairRecord();
    }

    /**
     * 删除MarketRepairRecord
     */
    @Override
    public void delete(@RequestParam("id") Long id, @RequestParam("code") String code) {
        return;
    }
}
